package com.idanchuang.user.count.service.api.request.query.count;

import com.idanchuang.user.count.service.api.request.query.BaseUserCountQuery;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 用户计数 多场景一次性查询
 * @author Richard_yyf
 * @version 1.0 2021/5/21
 */
public class UserCountBatchQuery extends BaseUserCountQuery {

    /**
     * 需要查询的用户计数场景 计数结果
     * 注意：最多支持10个场景同时查询
     */
    @NotEmpty(message = "用户计数场景不得为空")
    private List<String> sceneList;

    public UserCountBatchQuery() {
    }

    public List<String> getSceneList() {
        return sceneList;
    }

    public void setSceneList(List<String> sceneList) {
        this.sceneList = sceneList;
    }

    @Override
    public String toString() {
        return "UserCountBatchQuery{" +
                ", sceneList=" + sceneList +
                '}';
    }
}
